gtkwindow: Allow edge resizing from corners if constraints forbid either side
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 9 Dec 2017 20:13:05 +0000 (21:13 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 9 Dec 2017 21:19:57 +0000 (22:19 +0100)
commit8233cf36884cf07074f612300c1e014bf9057df2
treea45499917adfb20ebf8cca344b4fc10150e2ed9a
parent6b4dd4be6c4581556e9fa76c96170128415cd9c3
gtkwindow: Allow edge resizing from corners if constraints forbid either side

The fix is twofold. First, when checking that a corner is resizable, we must
check the constraints on both edges. Second, when checking either edge we
must include both perpendicular sides in order to allow those to be
resizable when the constraint does not allow resizing the edge being
checked.
gtk/gtkwindow.c